namespace dPet.Infrastructure.EntityFramework.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class UpdateProduct1 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Product", "EnableQuantityAlarm", c => c.Boolean(nullable: false));
            AddColumn("dbo.Product", "QuantityAlarmThreshold", c => c.Int(nullable: false));
            DropColumn("dbo.Product", "EnableInventoryAlarm");
            DropColumn("dbo.Product", "InventoryAlarmThreshold");
        }
        
        public override void Down()
        {
            AddColumn("dbo.Product", "InventoryAlarmThreshold", c => c.Int(nullable: false));
            AddColumn("dbo.Product", "EnableInventoryAlarm", c => c.Boolean(nullable: false));
            DropColumn("dbo.Product", "QuantityAlarmThreshold");
            DropColumn("dbo.Product", "EnableQuantityAlarm");
        }
    }
}
